home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / elk-2_0.lha / elk-2.0 / INSTALL < prev    next >
Text File  |  1992-11-02  |  2KB  |  43 lines

  1. To install Elk on your system do the following:
  2.  
  3. 1) Change into the directory "config" and choose the configuration file
  4.    for your type of system.
  5.    
  6.    The names of the configuration files follow the convention
  7.    "machine-os-compiler", where "machine" identifies the type of
  8.    hardware (CPU, manufacturer, ...), "os" is the operating system
  9.    version, and "compiler" identifies the C compiler to be used to
  10.    compile the sources.
  11.  
  12.    When you have selected a configuration file, make a symbolic link
  13.    "system" to it (or a hard link, or copy it).
  14.  
  15.    If you can't find a suitable configuration file for your system,
  16.    create a new one by copying one of the existing files.  Edit the
  17.    new file and change the definitions that need to be changed for
  18.    your type of system.  When you are done and everything works, mail
  19.    the new file to <net@cs.tu-berlin.de>, so that I can make it part of
  20.    the next release of Elk.
  21.  
  22. 2) Edit the file config/site and change the definitions that need to
  23.    be changed for your site.
  24.  
  25. 3) If necessary, edit the top-level Makefile and remove those components
  26.    from SUBDIRS that you don't want to compile and install.
  27.  
  28. 4) Have a look into the file MACHINES for further information and
  29.    potential problems and pitfalls pertaining your type of system.
  30.  
  31. 5) Run "make" and, if it has finished successfully, run "make install".
  32.  
  33. 6) Invoke the interpreter and test it by typing a few Scheme expressions
  34.    and by loading some of the example programs from the "examples"
  35.    directory tree.  Test dynamic loading by evaluating "(load 'unix.o)"
  36.    and then "(system 'date)".
  37.  
  38. 7) [Optional:]  if your system does not support dynamic loading of object
  39.    files, you may want to create an instance of the interpreter that is
  40.    linked together with extensions statically (this requires that
  41.    init_objects has been set to "yes" in config/site).  You can use the
  42.    shell script scripts/linkscheme to do the linking.
  43.